import touch from '@/utils/touch'
// 文件上传接口
export function uploadFile(data) {
  return touch({
    url: '/upload',
    method: 'post',
    headers: ['Content-Type', 'multipart/form-data'],
    data
  })
}
